package com.endbd.marketing.model;


import com.endbd.feignapi.model.system.User;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class MarketingOrdersCondition {
    private String orderId;
    private String customName;
    private Integer customId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private Double orderMoney;
    private Double minMoney;
    private Double maxMoney;
    private String operator;
    private Integer operatorId;
    private String status;
    private Integer state;
    private Integer warehouseId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date cDate;
    private Integer userId;

}
